//
//  LMJNetWorkRequestManager.h
//  EPA
//
//  Created by lanou3g on 16/4/15.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import <Foundation/Foundation.h>

//定义枚举
typedef NS_ENUM(NSInteger) {
    LMJ_GET,
    LMJ_POST,
} URLRequestMethod;
//定义返回值Block网络请求结果
typedef void(^ResultBlock)(NSData *data, NSURLResponse *response, NSError *error);
@interface LMJNetWorkRequestManager : NSObject
//请求方法
+(void)requestURL:(NSURL *)url Method: (URLRequestMethod)method Params:(NSDictionary *)param Result:(ResultBlock)resultBlock;

@end
